var fs = require('fs');
console.log('watch package.json ....')
fs.watch('./package.json', () => {
    let nowtime = Date.now();
    console.log(nowtime)
    fs.writeFile('./ctime_package.txt',nowtime, (err) => {
        if(err) console.log(err)
    }) 
});